package ncit.sanity.check.example;

public class SanityChecks {
	
	public Float doOperation(Float x, Float y, Operation op) {
		switch (op) {
		case ADD:
			return x+y;
		case SUBSTRACT:
			return x-y;
		case MULTIPLY:
			return x*y;
		case DIVIDE:
			return x/y;
		default:
			return null;
		}
	}
	
}
